﻿@model Manager.Model.Admin.M_Site

@{
    ViewBag.Title = "站点设置";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}
@section header
{
}
<div class="nav">当前位置 :-> 站点设置</div>
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>站点信息</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.SiteName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SiteName)
            @Html.ValidationMessageFor(model => model.SiteName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Sitedomain)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Sitedomain)
            @Html.ValidationMessageFor(model => model.Sitedomain)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SiteKeywords)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SiteKeywords)
            @Html.ValidationMessageFor(model => model.SiteKeywords)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SiteDesc)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SiteDesc)
            @Html.ValidationMessageFor(model => model.SiteDesc)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.WaterMark)
        </div>
        <div class="editor-field">
            @Html.RadioButtonFor(model => model.WaterMark, true, new { @id = "WaterMark1" })是
            @Html.RadioButtonFor(model => model.WaterMark, false, new { @id = "WaterMark2" })否
            @Html.ValidationMessageFor(model => model.WaterMark)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.WaterMarkType)
        </div>
        <div class="editor-field">
            @Html.RadioButtonFor(model => model.WaterMarkType, true, new { @id = "WaterMark1" })图片
            @Html.RadioButtonFor(model => model.WaterMarkType, false, new { @id = "WaterMark2" })文字
            @Html.ValidationMessageFor(model => model.WaterMarkType)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.WaterMarkAlpha)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.WaterMarkAlpha)
            @Html.ValidationMessageFor(model => model.WaterMarkAlpha)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.WaterMarkName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.WaterMarkName)
            @Html.ValidationMessageFor(model => model.WaterMarkName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.WaterMarkUrl)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.WaterMarkUrl)
            @Html.ValidationMessageFor(model => model.WaterMarkUrl)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.WaterMarkPosition)
        </div>
        <div class="editor-field">
            @Html.RadioButtonFor(model => model.WaterMarkPosition, 1, new { @id = "WaterMarkPosition1" })左上
            @Html.RadioButtonFor(model => model.WaterMarkPosition, 2, new { @id = "WaterMarkPosition2" })右上
            @Html.RadioButtonFor(model => model.WaterMarkPosition, 3, new { @id = "WaterMarkPosition3" })右下
            @Html.RadioButtonFor(model => model.WaterMarkPosition, 4, new { @id = "WaterMarkPosition4" })左下
            @Html.ValidationMessageFor(model => model.WaterMarkPosition)
        </div>

        <p>
            <input type="submit" value="保存" />
        </p>
    </fieldset>
}

